package com.zhang.edu.realtime.publish.service.impl;

import com.zhang.edu.realtime.publish.bean.VedioChapterStats;
import com.zhang.edu.realtime.publish.mapper.VideoChapterStatsMapper;
import com.zhang.edu.realtime.publish.service.VideoChapterStatsService;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class VideoChapterStatsServiceImpl implements VideoChapterStatsService {
    @Resource
    VideoChapterStatsMapper videoChapterStatsMapper;

    @Override
    public List<VedioChapterStats> getVedioChapterStats(Integer date) {
        return videoChapterStatsMapper.selectVedioChapterStats(date);
    }
}
